package calendar;

/**
 * Klasse repräsentiert CheckboxCalender
 * 
 * @author Michi
 * 
 */
public class CheckboxCalendar {

	int idCalendar;
	String name;
	int idCreator;

	/**
	 * Konstruktor
	 * 
	 * @param id
	 *            ID des Kalenders in der Datenbank
	 * @param name
	 *            Name des Kalenders
	 * @param creator
	 *            Besitzer des Kalenders
	 */
	public CheckboxCalendar(int id, String name, int creator) {
		this.idCalendar = id;
		this.name = name;
		this.idCreator = creator;
	}

	public int getIdCreator() {
		return idCreator;
	}

	public void setIdCreator(int idCreator) {
		this.idCreator = idCreator;
	}

	public int getIdCalendar() {
		return idCalendar;
	}

	public void setIdCalendar(int idCalendar) {
		this.idCalendar = idCalendar;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String toString() {
		return name;
	}

}
